This page explains how to upgrade your software for the Itential Automation Platform (IAP).
Note: Major breaking changes to be aware of prior to upgrading your Itential software are fully described in the Product Notices section.
Prerequisites
Before upgrading:
- Suspend all jobs through the Task Manager application.
- Backup Mongo data and your
/opt/pronghorn/current/properties.json
file.
Steps to Upgrade Itential Software
To upgrade your core Pronghorn (IAP) software:
Verify the latest version of Pronghorn (IAP) has been copied to the server. You can acquire the link for this build from the portal.
The upgrade will capture your latest
/opt/pronghorn/current/properties.json
file and use it for your new installation.Change (cd) to the directory where the Pronghorn (IAP) install build (.bin) is stored.
Shutdown Prongorn (IAP).
Upgrade NodeJS to latest version of NodeJS 8 (refer to the nodejs.org website).
Upgrade MongoDB to the latest certified version of MongoDB (refer to the Itential Minimum System Requirements).
- Set feature compatibility version to 3.4 (refer to the recommended Itential configuration for Mongo setup or the docs.mongodb.com website).
Run the following command to upgrade Pronghorn (add -v for verbose output).
bash pronghorn-<build-id>.linux.x86_64.bin -p
Important Notes
Errors for adapter schema issues should be fixed in the
properties.json
file, or using the System > Adapters view.During an upgrade, a database backup will be triggered via installer script. For instances where IAP is connected via SSL to a mongo database and mongo is configured with the
requireSSL
property, the backup may fail with the following message:Failed: error connecting to db server: no reachable servers.
A mongo database backup can be created using a mongodump command like this:
sudo mongodump --ssl --db pronghorn --host $hostname --port 27017 --username $mongoUsername --password $MONGOPASS --sslCAFile $pathToCert
Restart IAP & Login
Restart IAP after updating the properties.
Login to verify the service is up.
In the event you are unable to find old automations, tags, etc., run the migration script for the respective application and refresh IAP.
For example, if you are not finding tags created on a previous version of IAP:
Locate the migration script for tags.
cd /opt/pronghorn/current/node_modules/@itential/tags/migration_scripts
Run the script.
node migrateTagRefs.js
Refresh IAP.
If you are still experiencing issues after running the migration script, please log a ticket with the Itential Service Desk. Be sure to provide all necessary information to reproduce the issue and one of our Customer Success Agents will help to address your issue.